<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
    </head>
    <body>
        <div id="main">
            <div id="header">

            </div>
            <div id="middle">
                <div id="left-column">
                    <?php if (($sf_user->isAuthenticated())): ?>
                        <?php include_partial('home/menu') ?>
                    <?php endif ?>
                </div>
                <div id="center-column">
                    <?php echo $sf_content ?>
                </div>
                <div id="right-column">
                    <?php if ($sf_user->isAuthenticated()): ?>
                        <div id="usuarioLogueado">
                            Usuario:
                            <div id="nombreUsuario"><?php echo $sf_user->getUsername(); ?></div>
                            <div id="cerrarSesion"><?php echo link_to('Cerrar Sesión', 'sf_guard_signout') ?></div>
                            <br>
                            <a href="<?php echo url_for('@homepage') ?>" >
                                <?php echo image_tag('/images/logo.jpg', array('alt' => 'Neo Running Team')); ?>
                            </a>
                        </div>
                    <?php endif ?>
                </div>
            </div>
        </div>
    </body>
</html>
